package com.pms.service;

import java.util.List;

import com.pms.dao.ProjectDao;
import com.pms.entity.Project;

public class ProjectService {

	ProjectDao proDao = new ProjectDao();
	public int count(){
		return proDao.count();
	}
	
	public void savePro(Project pro){
		proDao.save(pro);
	}
	
	public List<Project> findAllProject(){
		return proDao.findAllProject();
	}
	public List<Project> findRole(String userid){
		return  proDao.findRole(userid);
	}

	public Project findById(String id) {
		return proDao.findById(id);
		
	}
	
	
}
